/**
 * 描述: 推送消息路由
 * 作者: wz
 * 日期: 2024-01-30
*/

const express = require('express');
const router = express.Router();
const { body } = require('express-validator');
const service = require('../services/allWordService');


// 推送消息路由
router.post('/getAllWordList', service.getAllWordList);

router.post('/editWord', service.editWord);

// 获得单词信息
router.post('/getWordInfo', service.getWordInfo);

module.exports = router;

